<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input id="c-type" data-rule="required" readonly class="form-control" name="row[type]" type="hidden" value="{$type}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('标题')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.Title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择分组')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cateId" data-rule="required" readonly class="form-control" name="row[cateid]" type="hidden" value="{$row.CateId}">
            <input id="c-cateName" data-rule="required" readonly class="form-control" name="row[cateName]" type="text" value="{$row.CateName}">
            <div id="channeltree" style="border:1px solid #eee;position: fixed;width: 334px; height: 400px; display:none;overflow-y:auto; z-index: 9999999;background: #fff;"></div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
